﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UCL.Forms
{
    /// <summary>
    /// 异步加载Loading提示窗口
    /// </summary>
    /// <remarks>2014-4-8 1.0 by sutroon</remarks>
    public partial class SoLoadingForm : Form, TaskHelper.ILoadingWindow
    {
        /// <summary>
        /// 获取或设置消息提示文本
        /// </summary>
        public string MessageText { get { return lblMessage.Text; } set { lblMessage.Text = value; } }

        public SoLoadingForm()
        {
            InitializeComponent();
            if (string.IsNullOrEmpty(MessageText)) MessageText = "正在加载数据,请稍后...";
        }
    }
}
